/**
 * Copyright (c) 2018-2019 PoleStar Studio. All Rights Reserved. <br>
 * Use is subject to license terms.<br>
 * <p>
 * 在此处填写文件说明
 */
package edu.javaee.spring.ioc;

/**
 * 填写功能简述.
 * <p>填写详细说明.<br>
 * @version v1.0
 * @author lianzuozheng
 * @date 2019-03-21 -16:48 
 */
public class TestJavaSE {

    public static void main(String[] args) {
        Phone phone = new PhoneImpl();
        phone.call();
        Phone phone1 = new PhoneImpl();
        phone1.call();

        StudentImpl student = new StudentImpl();
        student.setPhone(phone);
        student.setName("张三");
        student.learn();

        StudentImpl student1 = new StudentImpl();
        student1.setPhone(phone1);
        student1.setName("李四");
        student1.learn();




    }

}
